package com.cttq.timer;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 定时器.<br/>
 *
 * #author  xianglong<br/>
 * #date  2020/2/21 14:44<br/>
 * #since 1.0.0<br/>
 **/
 public class TimerTest {

    private static final Logger logger = LoggerFactory.getLogger(TimerTest.class);


    public void doJob() {
        logger.info("用户定时器开始");

        try {
        } catch (Exception e) {
            logger.info("用户定时器异常：{}", e.getMessage());
        }

        logger.info("用户定时器执行成功");
    }

}
